package com.fjh.springboot_01.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Feedback {
    private Integer id;
    private Integer userId;
    private String username;
    private String content;
    private String contactInfo;
    private Integer status; // 0-待处理 1-已处理
    private String reply;
    private Integer replyUserId;
    private String replyUsername;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime replyTime;
} 